package com.ruoyi.zhgd.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.zhgd.domain.NAsphaltMatch;
import com.ruoyi.zhgd.domain.bo.NAsphaltMatchBo;
import com.ruoyi.zhgd.domain.vo.NAsphaltMatchVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 沥青混合料配比表Mapper接口
 *
 * @author tll
 * @date 2023-10-12
 */
public interface NAsphaltMatchMapper extends BaseMapperPlus<NAsphaltMatchMapper, NAsphaltMatch, NAsphaltMatchVo> {

    @DataPermission({
        @DataColumn(key = "deptName", value = "t5.dept_id"),
    })
    IPage<NAsphaltMatchVo> page(@Param("params") NAsphaltMatchBo bo, Page<Object> build);

    NAsphaltMatchVo getById(@Param("id") String id);
}
